home *** CD-ROM | disk | FTP | other *** search
- <HTML>
-
- <HEAD>
- <TITLE>
- GetTimeZoneInfo Example
- </TITLE>
- </HEAD>
-
- <BASEFONT FACE="Arial, Helvetica" SIZE=2>
- <BODY bgcolor="#FFFFD5">
-
- <H3>GetTimeZoneInfo Example</H3>
- <!--- This example shows the use of GetTimeZoneInfo --->
-
- <CFOUTPUT>
- The local date and time are #now()#.
- </CFOUTPUT>
-
- <CFSET info = GetTimeZoneInfo()>
- <CFOUTPUT>
- <P>Total offset in seconds is #info.utcTotalOffset#.</P>
- <P>Offset in hours is #info.utcHourOffset#.</P>
- <P>Offset in minutes minus the offset in hours is #info.utcMinuteOffset#.</P>
- <P>Is Daylight Savings Time in effect? #info.isDSTOn#.</P>
- </CFOUTPUT>
-
- </BODY>
-
- </HTML>